package com.asp.aspchain.tstaccount.request;

import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Size;
import java.io.Serializable;

public class QryAccountReq implements Serializable {
	private static final long serialVersionUID = 1L;
	/*
	 * app标示
	 */
	@NotBlank(message="appmark不能为空")
	@Size(max=32)
	private String appmark;
	/*
	 * Token类型
	 */
	@NotBlank(message="accountid不能为空")
	private String accountid;

	/*
	 * 账号密码
	 */
	@Size(max=16)
	private String password;

	/*
	 * String，前面所有数字签名
	 */
	private String hmac;

	
	public String getAppmark() {
		return appmark;
	}
	public void setAppmark(String appmark) {
		this.appmark = appmark;
	}
	public String getAccountid() {
		return accountid;
	}
	public void setAccountid(String accountid) {
		this.accountid = accountid;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getHmac() {
		return hmac;
	}
	public void setHmac(String hmac) {
		this.hmac = hmac;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "QryAccountReq{" +
				"appmark='" + appmark + '\'' +
				", accountid='" + accountid + '\'' +
				", password='" + password + '\'' +
				", hmac='" + hmac + '\'' +
				'}';
	}
}

